package com.qf.market.po;

/**
 * Copyright (C),2015-2022,北京千锋教育
 * FileName: OrderDetail
 * Author: Saikasum
 * Date:2022/5/8 12:23
 */
public class OrderDetail {
    private int id;
    private int orderId;
    private String orderNum;
    private String brand;
    private String type;
    private String model;
    private String amount;
    private String unit;
    private String money;
    private String totalMoney;

    public OrderDetail(){}
    public OrderDetail(int orderId, String orderNum, String brand, String type, String model, String amount, String unit, String money, String totalMoney) {
        this.orderId = orderId;
        this.orderNum = orderNum;
        this.brand = brand;
        this.type = type;
        this.model = model;
        this.amount = amount;
        this.unit = unit;
        this.money = money;
        this.totalMoney = totalMoney;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(String totalMoney) {
        this.totalMoney = totalMoney;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", orderNum='" + orderNum + '\'' +
                ", brand='" + brand + '\'' +
                ", type='" + type + '\'' +
                ", model='" + model + '\'' +
                ", amount='" + amount + '\'' +
                ", unit='" + unit + '\'' +
                ", money='" + money + '\'' +
                ", totalMoney='" + totalMoney + '\'' +
                '}';
    }
}
